package net.wanho.hospital.service;

import net.wanho.hospital.po.Patient;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import net.wanho.hospital.vo.PatientVo;

import java.util.Map;

/**
 *  服务类
 *
 * @author 汤小洋
 * @since 2023-12-27
 */
public interface PatientUserService extends IService<Patient> {

   /**
    *   按查询分页查询
    */
    IPage<Patient> findPage(int pageNum, int pageSize, Patient patient);

    Map<String,Object> findPatientPage(int pageNumber, int size, String query);

    PatientVo login(int pId, String pPassword);
}
